import App from './App'
import uviewPlus from 'uview-plus'

// // #ifndef VUE3
// import Vue from 'vue'
// import './uni.promisify.adaptor'
// Vue.config.productionTip = false
// Vue.use(uView);
// App.mpType = 'app'
// const app = new Vue({
//   ...App
// })

// app.$mount()
// // #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import AppVue from './App';
export function createApp() {
  const app = createSSRApp(App)
  app.use(uviewPlus)
  return {
    app
  }
}	
// export const appUrl = "http://localhost:8090";        //本地1
//export const appUrl = "http://192.168.130.235:8090";     //本地2
export const appUrl = "http://120.26.113.115:8090";     //服务器
// export const appUrl = "http://192.168.154.235:8090";    //本地3
// #endif